package bjut.core.interfaces;

import bjut.core.Message.RpcRequest;
import bjut.core.annotation.SPI;

import java.net.InetSocketAddress;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/22 17:06
 */
@SPI
public interface ServiceDiscovery {

    InetSocketAddress lookupService(RpcRequest rpcRequest);

}
